Release 10.1A: OpenEdge Development:
Progress 4GL Reference


SCREEN-LINES function

Returns the number of lines you can use to display frames. This value omits the space used by the message area and status area.

Note: Does not apply to SpeedScript programming.

Syntax

SCREEN-LINES 

Example

Here, a different number of customer records is displayed depending on the number returned by the SCREEN-LINES function:

r-scrnln.p
DEFINE VARIABLE nbrdown AS INTEGER.

IF SCREEN-LINES > 21
THEN nbrdown = 7.
ELSE nbrdown = 6.

FOR EACH customer WITH nbrdown DOWN:
  DISPLAY cust-num name address city state country.
END. 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095